package com.corechina.apex_osswords.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.corechina.apex_osswords.common.Response;
import com.corechina.apex_osswords.domain.entity.CorePollingPlan;

/**
 * <p>
 * 巡检计划表 服务类
 * </p>
 *
 * @author cc
 * @since 2023-03-09
 */
public interface ICorePollingPlanService extends IService<CorePollingPlan> {

    Response add(CorePollingPlan corePollingPlan);

    Response del(Integer id);

    Response update(CorePollingPlan corePollingPlan);

    Response getList(Integer abnormal, Integer pollingId, Integer enterpriseId, Integer status, String planPersonName, Integer planPerson, Integer isToday, String beginDate, String endDate, Integer pageIndex, Integer pageSize);

    Response getListByProjectIdForWeiXin(String beginDate, String endDate, Integer projectId, Integer status, Integer enterpriseId, Integer pageIndex, Integer pageSize);

    Response getOne(Integer id);

}
